package com.uriuniv.mapper;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

import com.uriuniv.domain.Board;
import com.uriuniv.domain.Group;
import com.uriuniv.domain.Student;

public class GroupM implements RowMapper {
	
	public Object mapRow(ResultSet rs, int rowNum) throws SQLException {

		Group group = new Group();
		
		group.setGroupComment(rs.getString("GROUP_COMMENT"));
		group.setGroupId(rs.getString("GROUP_ID"));
		group.setGroupName(rs.getString("GROUP_NAME"));
		
		return group;
	}
}
